/* utils/map.js */
// 地图相关
module.exports = {
  // 地图部分参数

  // 腾讯位置服务API
  mapKey: "MVTBZ-5GMKB-L65UY-JVISU-GKL7Q-HSBQD",

  // 学校精确坐标（用于地图定位和获取天气数据）

  longitude: '108.453314',
  latitude: '22.749564',

  // 是否展示 POI 点
  enablepoi: false,
  // 是否显示带有方向的当前定位点
  showLocation: true,
  // 缩放级别
  scale: 16.1,
  // 最小缩放级别，比缩放级别小0.1-0.2为宜
  minscale: 16,

  // 自定义图层
  groundoverlay: {
    // 图层透明度 0-1
    opacity: 0.8,
    // 西南角
    southwest_latitude: 25.088910,
    southwest_longitude: 110.273850,
    // 东北角
    northeast_latitude: 25.098995,
    northeast_longitude: 110.281229,
  },

  // 地图边界
  boundary: {
    // 西南角
    southwest_latitude: 22.745288,
    southwest_longitude: 108.448388,
    // 东北角
    northeast_latitude: 22.754264,
    northeast_longitude: 108.45753,
  },

  // 学校边界
  school_boundary: {
    // 东（学校最东端的 经度）
    
    east: 108.460834,
    // 西（学校最东端的 经度）
    
    west: 108.448933,
    // 南（学校最东端的 纬度）
   
    south: 22.745092,
    // 北（学校最东端的 纬度）
    
    north: 22.754158,
  },

  // 默认地点
  default_point: {
    name: "南门",
    aliases: "学校正大门",
    img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/p1.jpg",
    desc: "学校正大门\n可以通行行人和车辆",
    latitude: '22.745727',
    longitude: '108.451335',
  },

  // 地点数据（使用嵌套列表存储）
  site_data: [{
      id: 1,
      name: "楼宇",
      list: [{
          id: 1,
          name: "傅文园A",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/敷文园A.jpg",
          desc: "全校最大的教学楼，含有多媒体教室、电脑机房等教室",
          latitude: '22.747274',
          longitude: '108.452363',
        
        },
        {
          id: 2,
          name: "傅文园B",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/敷文园B.jpg",
          desc: "听说有很多工作室、播音室、练琴房、陶艺室，不过这里的机房巨卡",
          latitude: '22.747715',
          longitude: '108.452998',
          
        },
        {
          id: 3,
          name: "傅文园C",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/敷文园C.jpg",
          desc: "4区\n学生学习的好去处",
          latitude: '22.747342',
          longitude: '108.450644',
          
        },
        {
          id: 4,
          name: "傅文园D",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/敷文园D.jpg",
          desc: "学校众多机构所在地",
          latitude: '22.748074',
          longitude: '108.45031',
         
        },
        {
          id: 5,
          name: "傅文园E",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/敷文园E.jpg",
          desc: "后勤部所在地",
          latitude: '22.748756',
          longitude: '108.450279',
        },
        {
          id: 6,
          name: "傅文园F",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/敷文园F.jpg",
          desc: "后勤部所在地",
          latitude: '22.749157',
          longitude: '108.450355',
        },
        {
          id: 7,
          name: "讯飞楼",
          aliases: "公共教学楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/讯飞楼.png",
          desc: "北湖路",
          latitude: '22.753779',
          longitude: '108.453081',
        },
      ]
    },
    {
      id: 2,
      name: "图书馆",
      list: [{
          id: 1,
          name: "图书馆A馆区",
          aliases: "一楼阅览室",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/图书馆.jpg",
          desc: "距离宿舍最近的阅览室，不过电脑声音很吵就是了",
          latitude: '22.749022',
          longitude: '108.451686',
        },
      ]
    },
    {
      id: 3,
      name: "二级学院",
      list: [{
          id: 1,
          name: "继续教育学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/继续教育学院.png",
          desc: "南门右侧",
          latitude: '22.745643',
          longitude: '108.452321',
        
        },
        {
          id: 2,
          name: "交通学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/交通学院.jpg",
          desc: "南硅谷",
          latitude: '22.750791',
          longitude: '108.449975',
        },
        {
          id: 3,
          name: "土木与建筑工程学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/土木学院.jpg",
          desc: "南硅谷区",
          latitude: '22.749635',
          longitude: '108.449608',
        },
        {
          id: 4,
          name: "人工智能与软件学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/人工智能与软件学院.jpg",
          desc: "南硅谷大道",
          latitude: '22.752708',
          longitude: '108.450724',
        },
        {
          id: 5,
          name: "数字经济学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/数字经济学院.png",
          desc: "北湖路",
          latitude: '22.753703',
          longitude: '108.451365',
        },
        {
          id: 6,
          name: "信息工程学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/信息工程学院.png",
          desc: "南硅谷大道",
          latitude: '22.747369',
          longitude: '108.449732',
        },
        {
          id: 7,
          name: "智能制造学院",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/智能制造学院.png",
          desc: "北湖路",
          latitude: '22.753619',
          longitude: '108.45274',
        },
        {
        id: 8,
        name: "艺术设计学院",
        aliases: "",
        img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/智能制造学院.png",
        desc: "南湖路",
        latitude: '22.746328',
        longitude: '108.452147',
      },
      ]
    },
    {
      id: 4,
      name: "校门",
      list: [{
          id: 1,
          name: "南门",
          aliases: "学校正大门",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/p1.jpg",
          desc: "学校正大门\n可以通行行人和车辆",
          latitude: '22.745727',
           longitude: '108.451335',
        },
        {
          id: 2,
          name: "北门",
          aliases: "学校侧门",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/p1.jpg",
          desc: "学校侧门\n只能通行行人，不能通行车辆",
          latitude: '22.753574',
          longitude: '108.45369',
        },
      ]
    },
    {
      id: 5,
      name: "会议厅",
      list: [{
          id: 1,
          name: "图书馆报告大厅",
          aliases: "大讲堂",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/图书馆报告大厅.png",
          desc: "学校最大的会议厅",
          latitude: '22.749069',
          longitude: '108.452116',
        },
        {
          id: 2,
          name: "学生演艺中心",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/学生演义中心.png",
          desc: "",
          latitude: '22.746026',
          longitude: '108.453718',
        },
        {
          id: 3,
          name: "学生活动中心",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/学生活动中心.png",
          desc: "",
          latitude: '22.750856',
          longitude: '108.453506',
        },
      ]
    },
    {
      id: 6,
      name: "体育场馆",
      list: [{
          id: 1,
          name: "田径场",
          aliases: "跑道",
          img: "https://cdnjson.com/images/2023/02/26/sport_tianjing.jpg",
          desc: "学生跑步的好去处",
          latitude: '22.752274',
          longitude: '108.4513',
        },
        {
          id: 2,
          name: "东篮球场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_basketball.jpg",
          desc: "学生打球的好去处",
          latitude: '22.752171',
          longitude: '108.452176',
        },
        {
          id: 3,
          name: "排球场",
          aliases: "室内场所",
          img: "https://cdnjson.com/images/2023/02/26/sport_volleyball.jpg",
          desc: "学生打排球的好去处",
          latitude: '22.751773',
          longitude: '108.453535',
        },
        {
          id: 4,
          name: "小足球场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_football2.jpg",
          desc: "学生踢球的好去处",
          latitude: '22.75271',
          longitude: '108.452396',
        },
        {
          id: 5,
          name: "西篮球场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_climbing.jpg",
          desc: "",
          latitude: '22.750808',
          longitude: '108.450786',
        },
        {
          id: 6,
          name: "室内场馆",
          aliases: "羽毛球场、乒乓球场",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/体育馆.jpg",
          desc: "学生打羽毛球的好去处\n就是老是抢不到场（恼）",
          latitude: '22.750554',
          longitude: '108.451806',
        },
        {
          id: 7,
          name: "网球场",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/体育馆.jpg",
          desc: "学生打网球的好去处",
          latitude: '22.750554',
          longitude: '108.451806',
        },
      ]
    },
    {
      id: 7,
      name: "广场",
      list: [{
          id: 1,
          name: "南门广场",
          aliases: "大阶梯",
          img: "https://cdnjson.com/images/2023/02/26/sport_zhishan.jpg",
          desc: "这里有宽宽的大阶梯，是拍集体照的好地方，也是升旗广场",
          latitude: '22.747302',
          longitude: '108.451456',
        },
        {
          id: 2,
          name: "体育馆前广场",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/sport_leshsan.jpg",
          desc: "这里经常举办各类社团活动、献血活动，",
          latitude: '22.750231',
          longitude: '108.451769',
        },
      
      ]
    },
    {
      id: 8,
      name: "风景",
      list: [{
          id: 1,
          name: "不孤湖",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/不孤湖2.jpg",
          desc: "3A级景区",
          latitude: '22.749564',
          longitude: '108.453314',
        },
        {
          id: 2,
          name: "风雨桥",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/不孤湖.jpg",
          desc: "建立在不孤湖之上",
          latitude: '22.748819',
          longitude: '108.452645',
        },
      ]
    },
    {
      id: 9,
      name: "美食",
      list: [{
          id: 1,
          name: "一食府",
          aliases: "食堂",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/一食堂.jpg",
          desc: "冲呀！干饭呀！",
          latitude: '22.75002',
          longitude: '108.454374',
        },
        {
          id: 2,
          name: "美食后街",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/delicious_houjie.jpg",
          desc: "学生们的美食天地",
          latitude: '22.753194',
          longitude: '108.4560168',
        },
        {
          id: 3,
          name: "三食堂",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/三食堂.jpg",
          desc: "",
          latitude: '22.745673',
          longitude: '108.454343',
        },
        {
          id: 3,
          name: "二食堂",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/三食堂.jpg",
          desc: "",
          latitude: '22.753825',
          longitude: '108.454008',
        },
      ]
    },
    {
      id: 10,
      name: "学生服务",
      list: [{
          id: 1,
          name: "医务室",
          aliases: "体育馆一楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/体育馆.jpg",
          desc: "",
          latitude: '22.750518',
          longitude: '108.452112',
        },
        {
          id: 2,
          name: "大学生心理健康与咨询中心",
          aliases: "体育馆一楼",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/体育馆.jpg",
          desc: "提供心理咨询等服务，需要提前预约",
          latitude: '22.750786',
          longitude: '108.451681',
        },
        {
          id: 3,
          name: "大学生创新创业园",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/student_chuangye.jpg",
          desc: "这里曾经非常热闹",
          latitude: '22.747457',
          longitude: '108.449037',
        },
      ]
    },
    {
      id: 11,
      name: "生活服务",
      list: [{
          id: 1,
          name: "校内快递点",
          aliases: "八栋楼下",
          img: "https://cdnjson.com/images/2023/02/26/life_kuaidi.jpg",
          desc: "百世 | 圆通 | 申通 | 京东 | 中通 | 韵达 | 顺丰",
          latitude: '22.751865',
          longitude: '108.45541',
        },
        {
          id: 2,
          name: "理发店",
          aliases: "八栋的另一边",
          img: "https://cdnjson.com/images/2023/02/27/life_lifa.jpg",
          desc: "一家平凡的理发店，我室友的头发在那被理废一次",
          latitude: '22.751499',
          longitude: '108.455549',
        },
        {
          id: 3,
          name: "药店",
          aliases: "理发店旁边",
          img: "https://cdnjson.com/images/2023/02/26/life_yaodian.jpg",
          desc: "一家平凡的药店，学生经常去那里称称自己的体重",
          latitude: '22.751499',
          longitude: '108.455549',
        },
      ]
    },
    {
      id: 12,
      name: "宿舍公寓",
      list: [{
          id: 1,
          name: "1栋",
          aliases: "卧龙岗",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/学生宿舍楼1.png",
          desc: "食堂就在对面，干饭干饭",
          latitude: '22.750404',
          longitude: '108.454199',
        },
        {
          id: 2,
          name: "2栋",
          aliases: "卧龙岗",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/学生宿舍楼2.png",
          desc: "",
          latitude: '22.751147',
          longitude: '108.454266',
        },
        {
          id: 3,
          name: "3栋",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_fubo.jpg",
          desc: "",
          latitude: '22.75168',
          longitude: '108.454628',
        },
        {
          id: 4,
          name: "4栋",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_duxiu.jpg",
          desc: "",
          latitude: '22.75228',
          longitude: '108.454689',
        },
        {
          id: 5,
          name: "5栋",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_qixing.jpg",
          desc: "现在的鸳鸯楼",
          latitude: '22.7529014',
          longitude: '108.454771',
        },
        {
          id: 6,
          name: "6栋A",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_ludi.jpg",
          desc: "",
          latitude: '22.7499',
          longitude: '108.454878',
        },
        {
          id: 7,
          name: "6栋B",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_ronghu.jpg",
          desc: "新楼，羡慕",
          latitude: '22.750238',
          longitude: '108.454848',
        },
        {
          id: 8,
          name: "7栋",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_shanhu.jpg",
          desc: "",
          latitude: '22.75111',
          longitude: '108.455111',
        },
        {
          id: 9,
          name: "8栋",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_guihu.jpg",
          desc: "",
          latitude: '22.751674',
          longitude: '108.455255',
        },
        {
          id: 10,
          name: "9栋",
          aliases: "女生宿舍楼",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_nanxi.jpg",
          desc: "",
          latitude: '22.752205',
          longitude: '108.455195',
        },
        {
          id: 11,
          name: "10栋",
          aliases: "卧龙岗",
          img: "https://cdnjson.com/images/2023/02/26/dormitory_mulong.jpg",
          desc: "",
          latitude: '22.75294',
          longitude: '108.455184',
        },
        {
          id: 12,
          name: "11栋",
          aliases: "卧龙岗",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/11栋.png",
          desc: "",
          latitude: '22.74582',
          longitude: '108.455288',
        },
        {
          id: 13,
          name: "12栋",
          aliases: "卧龙岗",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/12栋.png",
          desc: "",
          latitude: '22.745629',
          longitude: '108.456089',
        },
      ]
    },
    {
      id: 13,
      name: "其他",
      list: [{
          id: 1,
          name: "考研教室",
          aliases: "",
          img: "https://cdnjson.com/images/2023/02/26/other_kaoyan.jpg",
          desc: "傅文园B二楼",
          latitude: '22.747715',
          longitude: '108.452998',
        },
        {
          id: 2,
          name: "健身房",
          aliases: "5栋楼下",
          img: "https://cdnjson.com/images/2023/02/26/life_yaodian.jpg",
          desc: "",
          latitude: '22.752804',
          longitude: '108.454439',
        },
        {
          id: 3,
          name: "行政楼",
          aliases: "",
          img: "https://mp-343825f5-6f86-451c-972d-d8854a51edd2.cdn.bspapp.com/行政楼.jpg",
          desc: "学校众多机构所在地",
          latitude: '22.748074',
          longitude: '108.45031',
         
        },
      ]
    },
  ]

}